package cn.wolfcode.service;


import cn.wolfcode.domain.SeckillProductVo;

import java.util.List;

public interface ISeckillProductService {
    List<SeckillProductVo> querySeckillProduct(Integer time);

    /**
     * 从redis中取出数据
     * @param time
     * @return
     */
    List<SeckillProductVo> queryByTime(Integer time);

    SeckillProductVo find(Integer time, Long seckillId);


    void syncRedisStockCount(Long seckillId, Integer time);
}
